#ifndef     _DAEMON_INIT_H_
#define     _DAEMON_INIT_H_

#include "IPCAM_Export.h"

//定义一个结构体，为以后各线程间参数传递方便；
typedef struct thread_arg
{
	BOOL	wifistatu;
	INT     iRet;
 	sem_t   sem;
   
}THREAD_ARG,LPTHREAD_ARG;

INT Daemon_InitSem(sem_t *sem) ;
INT Daemon_DestorySem(sem_t* sem);

#endif

